package com.samsung.dao.lots;

import java.util.List;
import java.util.Map;

import com.samsung.model.lots.LotsEvent;

public interface LotsEventMapper {
    int deleteByPrimaryKey(String id);

    int insert(LotsEvent record);

    int insertSelective(LotsEvent record);

    LotsEvent selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(LotsEvent record);

    int updateByPrimaryKey(LotsEvent record);

	List<LotsEvent> listNewLots(int max);

	/**
	 * @author singleId
	 * @date 2015年5月20日 下午4:15:13 
	 * @return 
	 */
	List<LotsEvent> getPageInfo(Map<String, Integer> paramMap);

	int getTotalCount(Map<String, Object> condition);

	List<Map<String, Object>> getLotsList(Map<String, Object> condition);

}